Skip to content

fix: change tooltip from Toggle numbering to Toggle cell alignment#2938

Open
Prashant27-07 wants to merge 1 commit intoMoganLab:mainfrom
Prashant27-07:fix-toggle-numbering-tooltip
Open

fix: change tooltip from Toggle numbering to Toggle cell alignment#2938
Prashant27-07 wants to merge 1 commit intoMoganLab:mainfrom
Prashant27-07:fix-toggle-numbering-tooltip

Conversation

@Prashant27-07
Copy link

the tooltip "Toggle numbering" was misleading - the button actually toggles cell alignment (tabular vs tabular*), not numbering. Changed the tooltip to "Toggle cell alignment" in generic-menu.scm and text-menu.scm.

@Prashant27-07
Copy link
Author

Fixes #2852

@JackYansongLi
Copy link
Contributor

You should only change the behavior in tabular-like environment. The current change is global so when it comes to the math mode, it becomes:

Screenshot 2026-03-05 at 16 00 42

@JackYansongLi
Copy link
Contributor

Also, documentation and PR number are required.

Prashant27-07 added a commit to Prashant27-07/mogan that referenced this pull request Mar 5, 2026
@Prashant27-07 Prashant27-07 force-pushed the fix-toggle-numbering-tooltip branch from 7c22ae7 to 4abd0e7 Compare March 5, 2026 16:23
@Prashant27-07 Prashant27-07 force-pushed the fix-toggle-numbering-tooltip branch from 4abd0e7 to 53d3326 Compare March 5, 2026 22:04
@Prashant27-07
Copy link
Author

Hi @JackYansongLi I have updated the fix. The tooltip change is now only applied in tabular context using table-markup-context? in table-menu.scm. The generic-menu.scm and text-menu.scm are reverted back to 'Toggle numbering'. Please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants